package com.mo.scopeprivilege.annotation;

import java.lang.annotation.*;

/**
 * @name: MTableInfo
 * @description: Mybatis拼接sql表信息
 * @author: Yang Xingfu
 * @date: 2019-10-23 17:05
 **/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface TableInfo {
    String tableName();
    String alias() default "";
    String column() default "id";

}
